<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">展示首页:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                <label for="row[is_home]-0"><input id="row[is_home]-0" name="row[is_home]" type="radio" value="0" {if condition="$row.is_home eq 0"}checked{/if} />不展示</label>
                <label for="row[is_home]-1"><input id="row[is_home]-1" name="row[is_home]" type="radio" value="1"  {if condition="$row.is_home eq 1"}checked{/if}/>展示</label>
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
